<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Agentic AI Performance Dashboard 2025</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.9.1/chart.min.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding: 10px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 2.2rem;
            margin-bottom: 5px;
            font-weight: 300;
        }
        
        .header .subtitle {
            font-size: 1rem;
            opacity: 0.9;
        }
        
        .stats-bar {
            background: #f8f9fa;
            padding: 15px 20px;
            border-bottom: 1px solid #e9ecef;
            text-align: center;
        }
        
        .stats-item {
            display: inline-block;
            margin: 0 20px;
            padding: 8px 16px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .stats-number {
            font-size: 1.8rem;
            font-weight: bold;
            color: #667eea;
        }
        
        .stats-label {
            font-size: 0.9rem;
            color: #6c757d;
            margin-top: 2px;
        }
        
        .content {
            padding: 20px;
        }
        
        .chart-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .chart-container {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            border: 1px solid #e9ecef;
        }
        
        .chart-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #343a40;
            text-align: center;
            border-bottom: 2px solid #f8f9fa;
            padding-bottom: 10px;
        }
        
        .chart-wrapper {
            position: relative;
            height: 300px;
            margin-bottom: 15px;
        }
        
        .summary-section {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            border: 1px solid #e9ecef;
        }
        
        .summary-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #495057;
            text-align: center;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .summary-item {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            border-left: 4px solid #667eea;
        }
        
        .summary-item h4 {
            color: #495057;
            margin-bottom: 10px;
            font-size: 1rem;
        }
        
        .ranking-list {
            list-style: none;
        }
        
        .ranking-list li {
            margin: 8px 0;
            padding: 8px 12px;
            background: white;
            border-radius: 6px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .rank-number {
            background: #667eea;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }
        
        .rank-name {
            flex: 1;
            margin-left: 10px;
            font-weight: 500;
        }
        
        .rank-value {
            font-weight: bold;
            color: #28a745;
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 1.8rem;
            }
            
            .stats-item {
                margin: 5px 10px;
                padding: 6px 12px;
            }
            
            .stats-number {
                font-size: 1.4rem;
            }
            
            .chart-grid {
                grid-template-columns: 1fr;
            }
            
            .summary-grid {
                grid-template-columns: 1fr;
            }
            
            .content {
                padding: 15px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>Agentic AI Performance Dashboard</h1>
            <div class="subtitle">智能体AI表现数据分析看板 - 2025年度报告</div>
        </div>
        
        <div class="stats-bar">
            <div class="stats-item">
                <div class="stats-number">80</div>
                <div class="stats-label">实际处理数据行数</div>
            </div>
            <div class="stats-item">
                <div class="stats-number">26</div>
                <div class="stats-label">数据指标维度</div>
            </div>
            <div class="stats-item">
                <div class="stats-number">3</div>
                <div class="stats-label">核心分析问题</div>
            </div>
        </div>
        
        <div class="content">
            <div class="chart-grid">
                <div class="chart-container">
                    <div class="chart-title">智能体类型多模态支持占比 Top3</div>
                    <div class="chart-wrapper">
                        <canvas id="agentTypeChart"></canvas>
                    </div>
                </div>
                
                <div class="chart-container">
                    <div class="chart-title">大模型架构多模态支持占比 Top3</div>
                    <div class="chart-wrapper">
                        <canvas id="modelArchChart"></canvas>
                    </div>
                </div>
                
                <div class="chart-container">
                    <div class="chart-title">任务类型公正性得分中位数 Top3</div>
                    <div class="chart-wrapper">
                        <canvas id="biasScoreChart"></canvas>
                    </div>
                </div>
            </div>
            
            <div class="summary-section">
                <div class="summary-title">核心发现与洞察</div>
                <div class="summary-grid">
                    <div class="summary-item">
                        <h4>问题1: 多模态支持率最高的智能体类型</h4>
                        <ol class="ranking-list">
                            <li>
                                <span class="rank-number">1</span>
                                <span class="rank-name">Research Assistant</span>
                                <span class="rank-value">60.0%</span>
                            </li>
                            <li>
                                <span class="rank-number">2</span>
                                <span class="rank-name">Document Processor</span>
                                <span class="rank-value">33.3%</span>
                            </li>
                            <li>
                                <span class="rank-number">3</span>
                                <span class="rank-name">Sales Assistant</span>
                                <span class="rank-value">28.6%</span>
                            </li>
                        </ol>
                    </div>
                    
                    <div class="summary-item">
                        <h4>问题2: 多模态支持率最高的大模型架构</h4>
                        <ol class="ranking-list">
                            <li>
                                <span class="rank-number">1</span>
                                <span class="rank-name">GPT-4o</span>
                                <span class="rank-value">37.5%</span>
                            </li>
                            <li>
                                <span class="rank-number">2</span>
                                <span class="rank-name">CodeT5+</span>
                                <span class="rank-value">33.3%</span>
                            </li>
                            <li>
                                <span class="rank-number">3</span>
                                <span class="rank-name">Transformer-XL</span>
                                <span class="rank-value">20.0%</span>
                            </li>
                        </ol>
                    </div>
                    
                    <div class="summary-item">
                        <h4>问题3: 公正性表现最佳的任务类型</h4>
                        <ol class="ranking-list">
                            <li>
                                <span class="rank-number">1</span>
                                <span class="rank-name">Communication</span>
                                <span class="rank-value">0.8214</span>
                            </li>
                            <li>
                                <span class="rank-number">2</span>
                                <span class="rank-name">Research & Summarization</span>
                                <span class="rank-value">0.7853</span>
                            </li>
                            <li>
                                <span class="rank-number">3</span>
                                <span class="rank-name">Decision Making</span>
                                <span class="rank-value">0.7816</span>
                            </li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script>
        // 数据定义
        const agentTypeData = {
            labels: ['Research Assistant', 'Document Processor', 'Sales Assistant'],
            data: [60.0, 33.3, 28.6]
        };
        
        const modelArchData = {
            labels: ['GPT-4o', 'CodeT5+', 'Transformer-XL'],
            data: [37.5, 33.3, 20.0]
        };
        
        const biasScoreData = {
            labels: ['Communication', 'Research & Summarization', 'Decision Making'],
            data: [0.8214, 0.7853, 0.7816]
        };
        
        // 图表配置
        const chartOptions = {
            responsive: true,
            maintainAspectRatio: false,
            plugins: {
                legend: {
                    display: false
                }
            },
            scales: {
                y: {
                    beginAtZero: true,
                    grid: {
                        color: 'rgba(0,0,0,0.1)'
                    }
                },
                x: {
                    grid: {
                        display: false
                    },
                    ticks: {
                        maxRotation: 45
                    }
                }
            }
        };
        
        // 创建智能体类型图表
        new Chart(document.getElementById('agentTypeChart'), {
            type: 'bar',
            data: {
                labels: agentTypeData.labels,
                datasets: [{
                    data: agentTypeData.data,
                    backgroundColor: [
                        'rgba(102, 126, 234, 0.8)',
                        'rgba(118, 75, 162, 0.8)',
                        'rgba(255, 99, 132, 0.8)'
                    ],
                    borderColor: [
                        'rgba(102, 126, 234, 1)',
                        'rgba(118, 75, 162, 1)',
                        'rgba(255, 99, 132, 1)'
                    ],
                    borderWidth: 2,
                    borderRadius: 6
                }]
            },
            options: {
                ...chartOptions,
                scales: {
                    ...chartOptions.scales,
                    y: {
                        ...chartOptions.scales.y,
                        title: {
                            display: true,
                            text: '多模态支持占比 (%)'
                        }
                    }
                }
            }
        });
        
        // 创建模型架构图表
        new Chart(document.getElementById('modelArchChart'), {
            type: 'bar',
            data: {
                labels: modelArchData.labels,
                datasets: [{
                    data: modelArchData.data,
                    backgroundColor: [
                        'rgba(54, 162, 235, 0.8)',
                        'rgba(255, 206, 86, 0.8)',
                        'rgba(75, 192, 192, 0.8)'
                    ],
                    borderColor: [
                        'rgba(54, 162, 235, 1)',
                        'rgba(255, 206, 86, 1)',
                        'rgba(75, 192, 192, 1)'
                    ],
                    borderWidth: 2,
                    borderRadius: 6
                }]
            },
            options: {
                ...chartOptions,
                scales: {
                    ...chartOptions.scales,
                    y: {
                        ...chartOptions.scales.y,
                        title: {
                            display: true,
                            text: '多模态支持占比 (%)'
                        }
                    }
                }
            }
        });
        
        // 创建公正性得分图表
        new Chart(document.getElementById('biasScoreChart'), {
            type: 'bar',
            data: {
                labels: biasScoreData.labels,
                datasets: [{
                    data: biasScoreData.data,
                    backgroundColor: [
                        'rgba(153, 102, 255, 0.8)',
                        'rgba(255, 159, 64, 0.8)',
                        'rgba(199, 199, 199, 0.8)'
                    ],
                    borderColor: [
                        'rgba(153, 102, 255, 1)',
                        'rgba(255, 159, 64, 1)',
                        'rgba(199, 199, 199, 1)'
                    ],
                    borderWidth: 2,
                    borderRadius: 6
                }]
            },
            options: {
                ...chartOptions,
                scales: {
                    ...chartOptions.scales,
                    y: {
                        ...chartOptions.scales.y,
                        min: 0.75,
                        max: 0.85,
                        title: {
                            display: true,
                            text: 'Bias Detection Score (中位数)'
                        }
                    }
                }
            }
        });
    </script>
</body>
</html>